<style>
    .form-group{margin-bottom: 10px;}
    .models input[type=checkbox]{float: left;margin-left: -20px;}
    .checkbox-inline+.checkbox-inline, .radio-inline+.radio-inline{margin-left: 0;}
    .required{color:red;}
</style>
<input type="hidden" name="id" id="createspreadid">
{volist name="dataArr" id="vo"}
{php}$input_name = $key;{/php}
{if $input_name == 'type'}
    <input type="hidden" name="type" value="{$typeid}">
{else/}
    <div class="form-group models">
        <label class="control-label col-sm-2">
            {if $arrD[$input_name]['required'] == 1}<span class="required">*</span> {/if}
            {$arrD[$key]['name']}</label>
        <div class="col-sm-9">
            <!-- <label class="radio-inline">
                <input type="radio" checked="true" name="name" id="name"  value="男频"/>
                <span>男频</span>
            </label> -->
            
                {volist name="dataArr[$key]" id="sub" key="k"}
                    {if $sub['id'] != 999999}
                        <label class="radio-inline">
                            <input type="{$arrD[$input_name]['input_type']}" {if $sub['ischecked'] ==1 }checked="true"{/if} name="{$input_name}" value="{$sub.id}"/>
                            <span>{$sub.name}</span>
                            
                        </label>
                    {/if}
                {/volist}
        
        </div>
    </div>
{/if}
{/volist}
<div class="form-group">
    <label class="control-label col-sm-2"><span class="required">评分</label>
    <div class="col-sm-3">
        <input type="text" class="form-control" id="score"  name="score" value="0" placeholder=""/>
    </div>
</div>
<!-- <div class="form-group">
    <label class="control-label col-sm-2">{$menu_name|default="文案"}</label>
    <div class="col-lg-9">
        <textarea class="form-control" name="content" id="content" placeholder=""></textarea>
    </div>
</div> -->
